<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@taglib uri="/WEB-INF/caac.tld" prefix="caac"%>
<%@ page import="com.caac.core.util.Page" %>
<%@ page import="java.util.*"%> 
<%@ page import="java.text.*"%> 

<script type="text/javascript">
  	function keySearch(){
  		var key=document.getElementById("key").value;
  		var mystr = encodeURIComponent(key);
  		window.open('http://so.jinmajia.com/searchPrjLmMore.do?pageSize=20&pageNo=1&jys=<%=request.getParameter("jys")%>&key='+mystr);
  	}
</script>
 
<%String  bourseName="交易所";%>
<table border="0" cellpadding="0" cellspacing="1" align="center" class="mainlm">
  <tr>
    <th class="lm_col1">项目编号</th>
    <th class="lm_col2"><span>项目名称</span></th>
	<th class="lm_col3">挂牌机构</th>
    <th class="lm_col4">挂牌价格</th>
    <th class="lm_col5">挂牌日期</th>
  </tr>
  
  <logic:iterate id="sysRow" name="sysData" indexId="index">
    <tr>
    	<td class="lm_col1">
    	<bean:write name='sysRow' property='pickRecord.prjCode' ignore='true'/>&nbsp;
    	</td>
    	<td align="left" class="lm_col2"><a href="http://so.jinmajia.com/myRedirect.do?id=<bean:write name='sysRow' property='pickRecord.id'  ignore='true'/>" target="_blank"><bean:write name="sysRow" property="pickRecord.prjName"  ignore="true"/></a></td>
    	<td class="jgname lm_col3">
    		<bean:define id="prjBourseName" name="sysRow" property="pickRecord.prjBourse" type="java.lang.String"/>
    		<%bourseName=prjBourseName; %>
    		<bean:write name="sysRow" property="pickRecord.prjBourse"  ignore="true"/>
    	</td>
    	<td class="lm_col4"><bean:write name="sysRow" property="pickRecord.prjMoney"  ignore="true"/>&nbsp;万元</td>
    	<td class="lm_col5">
    		<bean:write name="sysRow" property="pubDate"  ignore="true"/>
		</td>
    </tr>
  </logic:iterate>
  
  <tr>
  	<td colspan='5' class="enterdiv">
  		<%
  			String jysCode=request.getParameter("jys");
  			if(jysCode==null ||"".equals(jysCode)) { 
  		%>
  		<span onclick="window.open('http://so.jinmajia.com/searchPrjLmMore.do?pageSize=20&pageNo=1&key=');">更多交易所挂牌项目请进入》
  		</span>
  		<%
  			}else{
  		%>
  		<span onclick="window.open('http://so.jinmajia.com/searchPrjLmMore.do?pageSize=20&pageNo=1&key=&jys=<%=request.getParameter("jys")%>');">更多<%=bourseName%>项目请进入》
  		</span>
  		<%
  			}
  		%>
  		&nbsp;&nbsp;
  		<input type="text" id="key" /> <input type="button" value="搜索" onclick="keySearch();"/>
 	</td>
  </tr></table><!--wget finished successful flag-->
  



